import request from '@/utils/request'


export function contractProcurementAdd(data) { //
    return request({
        url: '/project-quality/api/fullLifeContract/add',
        method: 'POST',
        data,
    })
}
export function contractProcurementEdit(data) { //
    return request({
        url: '/project-quality/api/fullLifeContract/edit',
        method: 'POST',
        data,
    })
}
export function contractProcurementDelete(id) { //-删除
    return request({
        url: '/project-quality/api/fullLifeContract/del/' + id,
        method: 'get',
    })
}
export function contractProcurementDetails(id) { //-详情
    return request({
        url: '/project-quality/api/fullLifeContract/' + id,
        method: 'get',
    })
}
export function contractProcurementCateList(data) { //-分页
    return request({
        url: '/project-quality/api/fullLifeContract/page',
        method: 'POST',
        data,
    })
}